package com.ocom.common.request.payconfig;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class TotalTurnoverRequest {

    @NotNull(message = "商家编号ID不能为空")
    @JsonProperty("companyID")
    private Long companyID;

    @NotNull(message = "商户ID不能为空")
    @JsonProperty("merchID")
    private Long merchID=-1L;

    @NotNull(message = "报表类型不能为空")
    @JsonProperty("reportType")
    private Integer reportType; //0-餐段；1-支付方式；2-收款账户

    private String summaryDate;
}
